package com.aos.erp.message.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@ApiModel("消息模板内容——微信公众号消息")
@TableName("t_mt_content_wx_public")
public class MTContentWxPublicInfo implements Serializable {

    @ApiModelProperty(value="消息内容ID",hidden=true)
    @TableId(value = "id", type = IdType.INPUT)
    private long id = 0;
    @ApiModelProperty(value="消息模板ID",hidden=true)
    @TableField("mt_id")
    private long mtId = 0;
    @ApiModelProperty(value="微信消息模板ID",hidden=true)
    @TableField("mt_wx_template_id")
    private String mtWxTemplateId = "";
    @ApiModelProperty(value="微信消息跳转链接",hidden=true)
    @TableField("mt_url")
    private String mtUrl = "";
    @ApiModelProperty(value="消息内容，供页面预览用",hidden=true)
    @TableField("mt_content")
    private String mtContent = "";

}
